package br.com.felix.fwt.ui.javascript;

public class Message extends Javascript{

	private String msg;
	
	public Message(String msg){
		this.msg = msg;
	}
	
	@Override
	public String script() {
		return "alert('"+msg.replaceAll("'", "\\\\'")+"');";
	}

}
